package com.bzkj.quality.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.common.core.domain.model.LoginUser;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.quality.domain
 * @className: QmsMaterialInfo1
 * @description: qms请验物料信息组合
 * @author: C1309
 * @createDate: 2025年01月08日
 * @version: v1.0
 */
public class QmsMaterialInfo {

    /**
     * 物料名称
     */
    @JSONField(name = "productName")
    @JsonProperty("productName")
    private String vItemName;

    /**
     * 物料编码
     */
    @JSONField(name = "productGmp")
    @JsonProperty("productGmp")
    private String vItemCode;

    /**
     * 物料规格
     */
    @JSONField(name = "productSpec")
    @JsonProperty("productSpec")
    private String vItemSpec;

    /**
     * 供应商批次号
     */
    @JSONField(name = "originalBatch")
    @JsonProperty("originalBatch")
    private String vVendBatchCode;

    /**
     * NCC批次号
     */
    @JSONField(name = "batchNum")
    @JsonProperty("batchNum")
    private String vBatchCode;

    /**
     * 生产日期
     */
    @JSONField(name = "productionDate")
    @JsonProperty("productionDate")
    private String vProdDate;

    /**
     * 有效期至
     */
    @JSONField(name = "validityDate")
    @JsonProperty("validityDate")
    private String vExpDate;

    /**
     * 复检期至
     */
    @JSONField(name = "reinspectDate")
    @JsonProperty("reinspectDate")
    private String vRejDate;

    /**
     * 有效期
     */
    @JSONField(name = "validityStr")
    @JsonProperty("validityStr")
    private String vValidStr;

    /**
     * 有效期单位
     */
    @JSONField(name = "qualityUnit")
    @JsonProperty("qualityUnit")
    private String qualityUnit;

    /**
     * 复检期
     */
    @JSONField(name = "reinspectStr")
    @JsonProperty("reinspectStr")
    private String vRejStr;

    /**
     * 生产商
     */
    @JSONField(name = "manufacturerName")
    @JsonProperty("manufacturerName")
    private String cproductoridName;

    /**
     * 表体主键
     */
    private String cgeneralbid;

    /**
     * 单据号
     */
    private String vbillcode;

    /**
     * 单据状态
     */
    @JsonIgnore
    private String billsState;

    /**
     * 明细状态
     */
    @JsonIgnore
    private String skuState;

    /**
     * 单据数量
     */
    @JsonIgnore
    private String nshouldnum;

    /**
     * 登录用户
     */
    @JsonIgnore
    private LoginUser loginUser;

    /**
     * 物料主键
     */
    @JsonIgnore
    private String pkMaterialId;

    /**
     * 物料编码
     */
    @JsonIgnore
    private String materialCode;

    /**
     * 供应商代码
     */
    @JsonIgnore
    private String vbcdef2;

    @JsonIgnore
    private String id;

    public String getvItemName() {
        return vItemName;
    }

    public void setvItemName(String vItemName) {
        this.vItemName = vItemName;
    }

    public String getvItemCode() {
        return vItemCode;
    }

    public void setvItemCode(String vItemCode) {
        this.vItemCode = vItemCode;
    }

    public String getvItemSpec() {
        return vItemSpec;
    }

    public void setvItemSpec(String vItemSpec) {
        this.vItemSpec = vItemSpec;
    }

    public String getvVendBatchCode() {
        return vVendBatchCode;
    }

    public void setvVendBatchCode(String vVendBatchCode) {
        this.vVendBatchCode = vVendBatchCode;
    }

    public String getvBatchCode() {
        return vBatchCode;
    }

    public void setvBatchCode(String vBatchCode) {
        this.vBatchCode = vBatchCode;
    }

    public String getvProdDate() {
        return vProdDate;
    }

    public void setvProdDate(String vProdDate) {
        this.vProdDate = vProdDate;
    }

    public String getvExpDate() {
        return vExpDate;
    }

    public void setvExpDate(String vExpDate) {
        this.vExpDate = vExpDate;
    }

    public String getvRejDate() {
        return vRejDate;
    }

    public void setvRejDate(String vRejDate) {
        this.vRejDate = vRejDate;
    }

    public String getvValidStr() {
        return vValidStr;
    }

    public void setvValidStr(String vValidStr) {
        this.vValidStr = vValidStr;
    }

    public String getvRejStr() {
        return vRejStr;
    }

    public void setvRejStr(String vRejStr) {
        this.vRejStr = vRejStr;
    }

    public String getBillsState() {
        return billsState;
    }

    public void setBillsState(String billsState) {
        this.billsState = billsState;
    }

    public String getQualityUnit() {
        return qualityUnit;
    }

    public void setQualityUnit(String qualityUnit) {
        this.qualityUnit = qualityUnit;
    }

    public String getCproductoridName() {
        return cproductoridName;
    }

    public void setCproductoridName(String cproductoridName) {
        this.cproductoridName = cproductoridName;
    }

    public String getCgeneralbid() {
        return cgeneralbid;
    }

    public void setCgeneralbid(String cgeneralbid) {
        this.cgeneralbid = cgeneralbid;
    }

    public String getVbillcode() {
        return vbillcode;
    }

    public void setVbillcode(String vbillcode) {
        this.vbillcode = vbillcode;
    }

    public String getSkuState() {
        return skuState;
    }

    public void setSkuState(String skuState) {
        this.skuState = skuState;
    }

    public String getNshouldnum() {
        return nshouldnum;
    }

    public void setNshouldnum(String nshouldnum) {
        this.nshouldnum = nshouldnum;
    }

    public String getPkMaterialId() {
        return pkMaterialId;
    }

    public void setPkMaterialId(String pkMaterialId) {
        this.pkMaterialId = pkMaterialId;
    }

    public LoginUser getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(LoginUser loginUser) {
        this.loginUser = loginUser;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getVbcdef2() {
        return vbcdef2;
    }

    public void setVbcdef2(String vbcdef2) {
        this.vbcdef2 = vbcdef2;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "QmsMaterialInfo{" +
                "vItemName='" + vItemName + '\'' +
                ", vItemCode='" + vItemCode + '\'' +
                ", vItemSpec='" + vItemSpec + '\'' +
                ", vVendBatchCode='" + vVendBatchCode + '\'' +
                ", vBatchCode='" + vBatchCode + '\'' +
                ", vProdDate='" + vProdDate + '\'' +
                ", vExpDate='" + vExpDate + '\'' +
                ", vRejDate='" + vRejDate + '\'' +
                ", vValidStr='" + vValidStr + '\'' +
                ", qualityUnit='" + qualityUnit + '\'' +
                ", vRejStr='" + vRejStr + '\'' +
                ", cproductoridName='" + cproductoridName + '\'' +
                ", cgeneralbid='" + cgeneralbid + '\'' +
                ", vbillcode='" + vbillcode + '\'' +
                ", billsState='" + billsState + '\'' +
                ", skuState='" + skuState + '\'' +
                ", nshouldnum='" + nshouldnum + '\'' +
                ", loginUser=" + loginUser +
                ", pkMaterialId='" + pkMaterialId + '\'' +
                ", materialCode='" + materialCode + '\'' +
                ", vbcdef2='" + vbcdef2 + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
